<extend name="en_us:Public:base" />
<block name="title">
    <title>QRInn - Synchronization center</title>
</block>
<block name="extendHead">
    <link rel="stylesheet" type="text/css" href="/Public/dist/Home/common_control.css?rev=65393a524028c7e3b76e961a08059c71d">
    <link rel="stylesheet" type="text/css" href="/Public/dist/Home/HotelPage/setting.css?rev=6f0420ddcc8614db7348010f79a4b384d">
	<link rel="stylesheet" type="text/css" href="/Public/dist/Home/SynPage/index.css?rev=1f2420ddcc8614db7331010f79a4b384d">
</block>
<block name="document">
    <div id="doc" class="container-above-md">
        <include file="en_us:Public:Include_control_navbar" navbar-menu-setting="active" />
        <div id="doc-body" class="row">
            <include file="en_us:Public:Include_setting_side" doc-side-syn="active" />
            <div id="doc-center">	
                <!--内容填写-->
				<div class="content-panel">
                    <div class="content-panel-header">
                        <div class="content-panel-title">Sync message
                        </div>
                        <div class="content-panel-operation">
                            <div class="btn-raised btn-sm btn-primary"><a style="color:#fff" href="/Home/SynPage/master.html?nocache={$userName|md5}">Syc qrmaster</a></div>
                        </div>
                    </div>
                    <div class="content-panel-body">
					
                            <empty name="hotelSynDetail">
                            <div class="content-panel-empty vertical-middle-block sm-height typo-body-1">
                                <div class="vertical-middle-block-cell">Haven't sync any hotel</div>
                            </div>
                            <else />
                            <div class="content-panel-help">Syn community</div>
                            
                                <table class="table content-panel-table">
                                    <thead>
                                        <tr>
                                            <th>Hotel</th>
                                            <th>Community</th>
                                            <th>Last sync time</th>
											<th>Syn detail</th>
                                        </tr>
                                    </thead>
                                    <tbody>
										<volist name="hotelSynDetail" id="vo">
										 <tr id="account{$vo.adminlogin_id}">
                                            <td class="hotelName">
											<empty name="vo.hotelName">
											<span style="color:red">(Deleted hotel)</span>
											 <else />
											{$vo.hotelName}
											</empty>
											</td>
											<td class="communityName">
											<empty name="vo.communityName">
											<span style="color:red">(Deleted community)</span>
											 <else />
											{$vo.communityName}
											</empty>
											</td>
                                            <td class="updatetime">{$vo.updatetime}</td>
											<td class="col-xs-3" account="{$vo.adminlogin_id}">
												<div class="btn-link showDetailBtn" data-hotel="{$vo.hotelentity_id}" data-value="{$vo.hotelName}">Check</div>
											</td>
                                        </tr>
										</volist>
										
                                    </tbody>
                                </table>
							</empty>
							<div class="content-panel-help" id="kongbaihang"></div>
                    </div>
					
                </div>
				
				<div class="content-panel hidden" style="overflow:hidden" id="syn-detail">
                    <div class="content-panel-header">
                        <div class="content-panel-title" id="communityName">
                        </div>
						<div class="content-panel-operation">
							
                            <div class="closeBtn" id="close-btn"><span class="glyphicon glyphicon-remove"></span></div>
                        </div>
                    </div>
					<div style="width:49%;float:left">
						<div class="row vertical-margin" style="padding-left:80px">
							<div class="col-xs-4 synTitle">Sync room</div>
						</div>
						<div class="row vertical-margin">
							<div class="col-xs-7 synItem" style="padding-left:100px" id="synRoom"></div>
						</div>
						
					</div>
					<div class="synDetail">
						<div class="row vertical-margin" id="accountList">
							<div class="col-xs-2 text-right synTitle" >Child admin</div>
						</div>
					</div>
				</div>
								
            </div>
            <!--end of doc-center-->
        </div>
        <!--end of doc body-->
    </div>
    <!--end of doc-->
	
</block>
<block name="extendFootJs">
    <script type="text/javascript" src="/Public/dist/Home/common_control.js?rev=b068a314e7294938880462ae75484c50d"></script>
    <script type="text/javascript" src="/Public/dist/Home/SynPage/index.js?rev=ff4d3be94f6895fc7a4112a10fd275ecd"></script>
	<script type="text/javascript" src="/Public/uclbrt/ulite/city/citylist.min.js?rev=eb037c4769250fbfbd6d87f2b5ba2e15d"></script>
</block>
